<template>
  <div>
    <div class="crumbs">
      <el-breadcrumb separator="/">
        <el-breadcrumb-item> <i class="el-icon-setting"></i> 题库管理 </el-breadcrumb-item>
      </el-breadcrumb>
    </div>
    <div class="container">
      <el-tabs v-model="activeName" @tab-click="tabClick">
        <el-tab-pane label="题库管理" name="ti"></el-tab-pane>
        <el-tab-pane label="考试试卷" name="ex"></el-tab-pane>
      </el-tabs>
      <subject v-if="activeName == 'ti'"></subject>
      <testPaper v-if="activeName == 'ex'"></testPaper>
    </div>
  </div>
</template>

<script>
import { RolePermissionsQX } from '../../../api/index';
import subject from './questionBankTem/subject.vue';
import testPaper from './questionBankTem/testPaper.vue';

export default {
  data() {
    return {
      activeName: 'ex'
    }
  },
  components: {
    subject,
    testPaper
  },
  created() {

  },
  methods: {
    //切换
    tabClick() {

    }
  }
}
</script>
<style scoped>
</style>